package com.travelgroup.domain.dto;

import com.travelgroup.enums.LocationType;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class LocationDTO {
    @Schema(description = "城市代码")
    private String cityCode;

    @Schema(description = "关键词")
    private String keyword;

    @Schema(description = "类型代号，逗号分隔")
    private String type;

    @Schema(description = "地点类型")
    private LocationType locationType;

    @Schema(description = "经度")
    private Double longitude;

    @Schema(description = "纬度")
    private Double latitude;

    @Schema(description = "搜索半径(米)")
    private Integer radius;

    @Schema(description = "是否只返回指定类型")
    private Boolean exactType = false;
}
